border: none; //
box-shadow: none; //
}
+
+@mixin undershoot($p) {
+//
+// undershoot
+//
+// $p: position
+//
+// possible $p values:
+// top, bottom, right, left
+//
+
+ $_undershoot_color_dark: transparentize(black, 0.8);
+ $_undershoot_color_light: transparentize(white, 0.8);
+
+ $_gradient_dir: left;
+ $_dash_bg_size: 10px 1px;
+ $_gradient_repeat: repeat-x;
+ $_bg_pos: center $p;
+
+ background-color: transparent; // shouldn't be needed, but better to be sure;
+
+ @if ($p == left) or ($p == right) {
+ $_gradient_dir: top;
+ $_dash_bg_size: 1px 10px;
+ $_gradient_repeat: repeat-y;
+ $_bg_pos: $p center;
+ }
+
+ background-image: linear-gradient(to $_gradient_dir, // this is the dashed line
+ $_undershoot_color_light 50%,
+ $_undershoot_color_dark 50%);
+
+ padding-#{$p}: 1px;
+ background-size: $_dash_bg_size;
+ background-repeat: $_gradient_repeat;
+ background-origin: content-box;
+ background-position: $_bg_pos;
+}
+
.touch-selection .radio:backdrop:checked {
icon-shadow: none;
color: #fff; }
+
+.undershoot.top {
+ background-color: transparent;
+ background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-top: 1px;
+ background-size: 10px 1px;
+ background-repeat: repeat-x;
+ background-origin: content-box;
+ background-position: center top; }
+.undershoot.bottom {
+ background-color: transparent;
+ background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-bottom: 1px;
+ background-size: 10px 1px;
+ background-repeat: repeat-x;
+ background-origin: content-box;
+ background-position: center bottom; }
+.undershoot.left {
+ background-color: transparent;
+ background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-left: 1px;
+ background-size: 1px 10px;
+ background-repeat: repeat-y;
+ background-origin: content-box;
+ background-position: left center; }
+.undershoot.right {
+ background-color: transparent;
+ background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-right: 1px;
+ background-size: 1px 10px;
+ background-repeat: repeat-y;
+ background-origin: content-box;
+ background-position: right center; }